package com.pgfx.ejbModule.facade;

import java.util.Map;
import java.util.Set;

import com.pgfx.ejbModule.utils.ConsultarConfig;

public interface BaseFacade<E> {
	
	public E buscar(Object entity) throws Exception;  

	public void eliminar(Object id) throws Exception;

	public void eliminar(Set<E> entity) throws Exception;

	public E actualizar(E entity) throws Exception;

	public Set<E> listar(E e, String orden) throws Exception;
	
	public Map consultar(E e, ConsultarConfig config) throws Exception;

}
